package Szadoban;

public class Time {
	
	/**
	 * Time when the clock starts
	 */
	private long startTime;
	
	/**
	 * Initiate timer
	 */
	public Time(){
		startTime = System.currentTimeMillis();
	}
	
	/**
	 * @return Elapsed time
	 */
	public long getElapsedTime(){
		return System.currentTimeMillis() - startTime;
	}
	
}
